<?php
		if(isset($_COOKIE['name'])){
			
		}else{
			echo '<h3>您是非法登陆哟！</h3>';
			header("Refresh:1;login.html");
			exit;
		}
?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>这里是记事的地方</title>
		<link href="css/bootstrap.min.css" rel="stylesheet"/>
	</head>
	<body style="background: url(img/记事本背景.jpg);">
		<div class="col-md-8" style="text-align: center;margin: 0 auto;float: none;margin-top: 7em">
			<form action="notepad_insert.php" method="post" onsubmit="return">
					<h3 style="float: left;">记事：</h3>
					<textarea id="jishi" name="jishi" class="form-control" rows="20"></textarea><br>	
					<button type="submit" class="col-md-4 btn btn-success btn-block">提交</button>
			</form>
		</div>	
	</body>
</html>
